package kr.hkit.powerjava.chapter08;

class Book {
	private String title;
	private String author;
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	@Override
	public String toString() {
		return "Book [책 제목=" + title + ", 저자=" + author + "]";
	}
	
	public static void main(String[] args) {
		Book b = new Book();
		
		b.setAuthor("이석형");
		b.setTitle("자바 걸음마 떼기");
		
		System.out.println(b);
	}

}
